package com.mdb.open.epay.domain.po.epay;

import com.baomidou.mybatisplus.annotation.*;
import com.mdb.bc.api.data.DataObjectBase;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * 类描述：
 * 用户快捷开通表实体类
 *
 * @author liuyi
 * @date 2019-11-14
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("qp_user_open")
public class QpUserOpen extends DataObjectBase {

    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 产品code
     */
    @ApiModelProperty(value = "产品code")
    @TableField("prod_code")
    private String prodCode;

    /**
     * 产品名称
     */
    @ApiModelProperty(value = "产品名称")
    @TableField("prod_name")
    private String prodName;

    /**
     * 核心客户号
     */
    @ApiModelProperty(value = "核心客户号")
    @TableField("core_client_no")
    private String coreClientNo;

    /**
     * 所属客户编号
     */
    @ApiModelProperty(value = "所属客户编号")
    @TableField("customer_code")
    private String customerCode;

    /**
     * 所属客户名称
     */
    @ApiModelProperty(value = "所属客户名称")
    @TableField("customer_name")
    private String customerName;

    /**
     * 卡类型
     */
    @ApiModelProperty(value = "卡类型")
    @TableField("card_type")
    private String cardType;

    /**
     * 卡号
     */
    @ApiModelProperty(value = "卡号")
    @TableField("bank_acc_no")
    private String bankAccNo;

    /**
     * 证件类型
     */
    @ApiModelProperty(value = "证件类型")
    @TableField("cert_type")
    private String certType;

    /**
     * 证件号
     */
    @ApiModelProperty(value = "证件号")
    @TableField("cert_no")
    private String certNo;
    /**
     * 账户英文名
     */
    @ApiModelProperty(value = "账户英文名")
    @TableField("bank_acc_ename")
    private String bankAccEname;
    /**
     * 账户中文名
     */
    @ApiModelProperty(value = "账户中文名")
    @TableField("bank_acc_cname")
    private String bankAccCname;
    /**
     * 出生日期
     */
    @ApiModelProperty(value = "出生日期")
    @TableField("birth_date")
    private String birthDate;
    /**
     * cvv2
     */
    @ApiModelProperty(value = "cvv2")
    @TableField("cvv2")
    private String cvv2;
    /**
     * 有效期
     */
    @ApiModelProperty(value = "有效期")
    @TableField("valid_date")
    private String validDate;

    /**
     * 币种
     */
    @ApiModelProperty(value = "币种")
    private String ccy;

    /**
     * 电话区号
     */
    @ApiModelProperty(value = "电话区号")
    @TableField("phone_area")
    private String phoneArea;

    /**
     * 手机号
     */
    @ApiModelProperty(value = "手机号")
    private String phoneNo;

    /**
     * 1.开通 2.关闭 3暂停
     */
    @ApiModelProperty(value = " 1.开通 2.关闭 3暂停")
    private String status;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remark;

    /**
     * 操作人No
     */
    @ApiModelProperty(value = "操作人No")
    @TableField("opt_user_id")
    private String optUserId;

    /**
     * 操作人name
     */
    @ApiModelProperty(value = "操作人name")
    @TableField("opt_user_name")
    private String optUserName;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间")
    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    /**
     * 创建者No
     */
    @ApiModelProperty(value = "创建者No")
    @TableField(value = "create_user_id", insertStrategy = FieldStrategy.NOT_NULL)
    private String createUserId;

    /**
     * 创建者
     */
    @ApiModelProperty(value = "创建者")
    @TableField(value = "create_user_name", insertStrategy = FieldStrategy.NOT_NULL)
    private String createUserName;

}
